/*
 * create by Littleken at 2019/3/26 15:13
 */
package com.littleken.product.service;

import com.littleken.product.dto.CartDTO;
import com.littleken.product.model.ProductInfo;

import java.util.List;

public interface ProductService {
    List<ProductInfo> findUpAll();

    List<ProductInfo> findList(List<String> productIdList);

    /**
     * 扣库存
     * @param cartDTOList 购物车List
     */
    void decreaseStock(List<CartDTO> cartDTOList);
}
